//
//  SemPageCell.h
//  i5db
//
//  Created by iMuse on 15-5-16.
//  Copyright (c) 2015年 mySelf. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SemPageCell;
@protocol SemPageDataSource <NSObject>

-(NSInteger) semPageView:(SemPageCell*)semPageView;
-(void)semPageView:(SemPageCell*) semPageView didSelectAtIndex:(NSString*)index;

@end

@protocol SemPageDelegate <NSObject>

-(UIView*) semPageView:(SemPageCell*)semPageView cellForPageAtIndex:(NSString*)index;

@end

@interface SemPageCell : UIView
-(void)initView;

@property(nonatomic,assign)id<SemPageDataSource> dataSource;
@property(nonatomic,assign)id<SemPageDelegate> delegate;

@end
